﻿using System;
using System.Collections.Generic;
using lindyaka.Domain.Entities;

namespace lindyaka.Models.Administration
{
    public class UserAccount
    {
        public int UserAccountId { get; set; }
        public string Email { get; set; }
        public string Password { get; set; }
        public UserAccountStatus Status { get; set; }
        public UserAccountPermission Permission { get; set; }
        public DateTime Registered { get; set; }
        public DateTime LastLoggedIn { get; set; }

        public virtual IEnumerable<Domain.Entities.Role> Roles { get; set; }
        // public virtual ICollection<UserAccountRole> UserAccountRoles { get; set; }
    }
}